package com.yc.fedex.model.request.track;

import com.yc.fedex.model.domain.TrackingInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TrackDocumentRequest {

    private TrackDocumentDetail trackDocumentDetail;
    private List<TrackingInfo> trackDocumentSpecification;


    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class TrackDocumentDetail {
        private String documentType;
        private String documentFormat;
    }
}
